package isssr.dao.src;

import isssr.dao.exception.DAOException;
import isssr.entity.src.Role;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import org.hibernate.SessionFactory;

public class HibernateRoleDAO extends HibernateDAOCommons implements RoleDAO, Serializable {

	public HibernateRoleDAO(SessionFactory sessionFactory)
	{
		super(sessionFactory);
	}
	
	@Override
	public void insert(Role role) throws DAOException {
		
		super.insert(role);

	}

	@Override
	public void update(Role role) throws DAOException {

		super.update(role);
	}

	@Override
	public void delete(Role role) throws DAOException {
		
		super.delete(role);
	}

	@Override
	public List<Role> getAll() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Role> getAll(Map<String, Object> filters, Integer firstResult,
			Integer pageSize) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Role getByTitle(String title) {
		// TODO Auto-generated method stub
		return null;
	}

}
